﻿
using System;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;

namespace gisgeb.plugins.info
{
    /// <summary>
    /// Description of Info.
    /// </summary>
    internal partial class Info : Form
    {
        const string HOMEPAGE = "http://code.google.com/p/gisgeb/";
        
        public Info()
        {
            InitializeComponent();
        }
        
        void InfoLoad(object sender, EventArgs e)
        {
            this.linkHomepage.Text = HOMEPAGE;
        }
        
        void LinkHomepageLinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            ProcessStartInfo defaultBrowser = new ProcessStartInfo(HOMEPAGE);
            Process.Start(defaultBrowser);
        }

        private void btnOk_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
